<template>
  <div class="container">
    <Mall title="美景">
      <img
        src="https://dd59176.cdn.bcebos.com/uploads/images/pageimg/20230523/1-2305231333323.png"
        alt=""
      />
    </Mall>
    <Mall title="书籍">
      <ul>
        <li v-for="(b, index) in books" :key="index">{{ b }}</li>
      </ul>
    </Mall>
    <Mall title="电影">
      <video
        controls
        src="https://fanyiapp.cdn.bcebos.com/app/video/yangliang/E77_focus.mp4"
      ></video>
    </Mall>
  </div>
</template>

<script>
import Mall from "./components/Mall";
export default {
  name: "App",
  components: { Mall },
  data() {
    return {
      books: ["《一千零一夜》", "《老人与海》", "《安徒生童话集》"],
    };
  },
};
</script>

<style scoped>
.container {
  display: flex;
  justify-content: space-around;
}
</style>